package com.dinghui.salary.service;

import com.dinghui.salary.pojo.MouthType;
import com.dinghui.salary.pojo.MouthType1;
import com.dinghui.salary.pojo.User;
import com.dinghui.salary.pojo.dto.MouthTypeDTO;
import com.dinghui.salary.pojo.dto.SalaryStructureDTO;
import com.dinghui.salary.pojo.dto.SearchMouthTypeDTO;
import com.dinghui.salary.pojo.vo.MouthTypeDetailVO;
import com.dinghui.salary.utils.PagedGridResult;

import java.util.List;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc
 */
public interface MouthTypeService {

    int delete(String id);

    PagedGridResult findList(SearchMouthTypeDTO dto);

    List<MouthTypeDetailVO> findById(String id);

    void create(MouthTypeDTO dto, User user);

    int update(MouthTypeDTO dto, User user);

    PagedGridResult selectSalaryStructureList(SalaryStructureDTO dto);


}
